<template>
  <el-table
    ref="multipleTable"
    :data="tableData"
    tooltip-effect="dark"
    style="width: 100%"
    @selection-change="handleSelectionChange"
  >
    <el-table-column type="selection" width="55"> </el-table-column>
    <el-table-column label="疾病Id" width="120">
      <template slot-scope="scope">{{ scope.row.date }}</template>
    </el-table-column>
    <el-table-column prop="name" label="疫苗名" width="120"> </el-table-column>
    <el-table-column prop="description" label="描述" width="120">
    </el-table-column>
    <el-table-column prop="symptoms" label="症状" width="120">
    </el-table-column>
    <el-table-column prop="address" label="备注" show-overflow-tooltip>
    </el-table-column>
  </el-table>
  <div style="margin-top: 20px">
    <!-- <el-button @click="toggleSelection([tableData[1], tableData[2]])"
      >切换第二、第三行的选中状态</el-button
    > -->
    <el-button @click="toggleSelection()">取消选择</el-button>
  </div>
</template>
<script setup></script>
<style lang="less" scoped></style>
